<template>
  <view>
    <my-login v-if="!getToken"></my-login>
    <my-userInfo v-else></my-userInfo>
  </view>
</template>
<script>
import tarBarBadge from '@/mixins/tarBar-badge.js'
import { mapGetters } from 'vuex'
export default {
  minxis: [tarBarBadge],
  computed: {
    ...mapGetters('user', ['getToken'])
  }
}
</script>

<style></style>
